package br.edu.ufcg.lsd.wbis.ui.client.services;

import br.edu.ufcg.lsd.wbis.ui.client.beans.RootCreationStatus;
import br.edu.ufcg.lsd.wbis.ui.client.beans.UserInfo;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * @author Renato Miceli
 */
public interface GeneralServiceAsync {

	public void login(UserInfo info, AsyncCallback<UserInfo> callback);

	public void register(UserInfo userInfo, AsyncCallback<UserInfo> callback);

	public void getRootUserStatus(AsyncCallback<RootCreationStatus> callback);

}
